
<load href="../Public/js/plugin/Uploadify/uploadify.css" />
<load href="../Public/js/plugin/Uploadify/swfobject.js" />
<load href="../Public/js/plugin/Uploadify/jquery.uploadify.v2.1.4.min.js" />

<load href="../Public/js/module/Ad/ad_add.js" />






<div class="sendTitleDiv marginleft10">
    添加广告
</div>
<form id="frm_ad_add" action="__URL__/adSave" method="post">
    <input type="hidden" name="id" value="{$app.id }" />
    <input id="hid_img_url" type="hidden" name="img_url"/>
    <div class="width100Percent margintop20">
        <table class="formTable">
            <tr>
                <td>
                    <span>广告链接</span>
                </td>
                <td>
                    <input type="text" name="link" class="{required:true, url : true}"  value="{$app.original }" />
                    <span class="redSpan">*</span>
                </td>
                <td>
                    <span>广告位置</span>
                </td>
                <td>
                    <select name="location">
                        <option value="index">首页</option>
                        <option value="index_logo">首页Logo</option>
                        <option value="content">内容</option>
                        <option value="content_logo">内容Logo</option>
                        <option value="content_bottom">内容底部</option>
                        <option value="top">排行榜</option>
                        <option value="scroll1">滚动图片1</option>
                        <option value="scroll2">滚动图片2</option>
                        <option value="scroll3">滚动图片3</option>
                    </select>
                    <span class="redSpan">*</span>
                </td>

            </tr>
            <tr>
                <td>
                    <span>备注</span>
                </td>
                <td colspan="3">
                    <input type="text" name="name"  value="{$app.size }" />
                    <span class="redSpan">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>上传广告图片</span>
                </td>
                <td colspan="3">
                    <div class="floatLeftDiv"><input id="inp_ad_upload"/></div>
                    <div class="marginleft10 floatLeftDiv"><input id="inp_ad_upload_enter" type="button" class="buttonStyle" value="上传图片"/></div>
                    <span class="redSpan">*</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="buttonRight margintop20">
        <input id="btn_notice_add_submit" type="button" class="buttonStyle" value="确定" />
        <input id="btn_notice_add_reset" type="reset" class="buttonStyle" value="重置" />
    </div>
</form>


